package com.kcsoft.welcome.pojo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.NonNull;

public class NewMem {

    private Integer id;

    @NotBlank
    private String name;

    @NotNull
    private String pr;

    @NotBlank
    private String cla;

    @NotBlank
    private String xueyuan;

    @NotBlank
    private String phone;

    public NewMem() {
    }

    public NewMem(Integer id, String name, String pr, String cla, String xueyuan, String phone) {
        this.id = id;
        this.name = name;
        this.pr = pr;
        this.cla = cla;
        this.xueyuan = xueyuan;
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPr() {
        return pr;
    }

    public void setPr(String pr) {
        this.pr = pr;
    }

    public String getCla() {
        return cla;
    }

    public void setCla(String cla) {
        this.cla = cla;
    }

    public String getXueyuan() {
        return xueyuan;
    }

    public void setXueyuan(String xueyuan) {
        this.xueyuan = xueyuan;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
